package biz.innovasoft.nodb;

import org.prevayler.Prevayler;

import biz.innovasoft.nodb.impl.GenericRepository;


public class RepositoryCore {

	private final Prevayler prevayler;
	private final Repository proxy;
	private final GenericRepository prevalentSystem;
	private final RepositoryConfiguration config;
	
	public RepositoryCore (Prevayler prevayler, Repository proxy, 
			GenericRepository prevalentSystem, RepositoryConfiguration config) {
		this.prevayler = prevayler;
		this.proxy = proxy;
		this.prevalentSystem = prevalentSystem;
		this.config = config;
	}

	public Prevayler getPrevayler() {
		return prevayler;
	}

	public Repository getProxy() {
		return proxy;
	}

	public GenericRepository getPrevalentSystem() {
		return prevalentSystem;
	}
	
	public RepositoryConfiguration getRepositoryConfiguration() {
		return config;
	}
	
}
